package cn.tedu._03_vehicle.mapper;

import cn.tedu._03_vehicle.pojo.entity.Vehicle;
import cn.tedu._03_vehicle.pojo.vo.VehicleListVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VehicleMapper {
    int add(Vehicle vehicle);

    List<VehicleListVO> selectVehicle(@Param("brand") String brand, @Param("license")String license, @Param("userId")Long userId);

    void deleteVehicle(@Param("id") Integer id, @Param("userId") Long userId);
}
